<template>
  <div id="app">
    <router-view class="content"></router-view>
    <footer-ele v-show="$store.state.footerShow"/>
  </div>
</template>

<script>
import footerEle from './components/footer.vue'
export default {
    created(){
      this.$store.dispatch('getShopInfo')
    },
    components:{
      footerEle
    }
}
</script>

<style lang="scss">
html{
  height: 100vh;
}
.content{
  height: 100%;
  box-sizing: border-box;
  padding-bottom: 100px;
}

